package com.jx.driving.transmission;

import java.util.List;

import com.jx.driving.domain.ImageNo;
import com.jx.driving.message.TimeTerminalTransmissionMessage;
import com.jx.driving.protocol.terminal.annotation.ByteAnnotation;
import com.jx.driving.protocol.terminal.annotation.LimitedListAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 上报照片查询结果
 * 
 * @author shenliuyang
 *
 *         2016年8月15日下午2:22:04
 */
@TerminalAnnotation
public class Terminal0x0303Transmission extends TimeTerminalTransmissionMessage {
    /**
     * 0：否，1：是 如果查询结果尚未发完，则为 0x00
     */
    @ByteAnnotation(order = 1)
    private short done;
    @ByteAnnotation(order = 2)
    private short accordWith;// 符合条件的照片总数
    @LimitedListAnnotation(order = 3)
    private List<ImageNo> imageNoList;// 照片编号集合

    public short getDone() {
	return done;
    }

    public void setDone(short done) {
	this.done = done;
    }

    public short getAccordWith() {
	return accordWith;
    }

    public void setAccordWith(short accordWith) {
	this.accordWith = accordWith;
    }

    public List<ImageNo> getImageNoList() {
	return imageNoList;
    }

    public void setImageNoList(List<ImageNo> imageNoList) {
	this.imageNoList = imageNoList;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x0303Transmission [done=").append(done).append(", accordWith=").append(accordWith).append(", imageNoList=").append(imageNoList).append("]");
	return builder.toString();
    }

}
